﻿@model sipfe.model.dataAccess.SIPMaePersona

@{
    ViewBag.Title = "Edit";
}

<h2>Edit</h2>

<script src="@Url.Content("~/Scripts/jquery.validate.min.js")" type="text/javascript"></script>
<script src="@Url.Content("~/Scripts/jquery.validate.unobtrusive.min.js")" type="text/javascript"></script>

@using (Html.BeginForm()) {
    @Html.ValidationSummary(true)
    <fieldset>
        <legend>SIPMaePersona</legend>

        <div class="editor-label">
            @Html.LabelFor(model => model.nIdePersona)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.nIdePersona)
            @Html.ValidationMessageFor(model => model.nIdePersona)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.nIdeTipoPer, "SIPDetCompendio3")
        </div>
        <div class="editor-field">
            @Html.DropDownList("nIdeTipoPer", String.Empty)
            @Html.ValidationMessageFor(model => model.nIdeTipoPer)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.nIdeCodPaisDoc, "SIPDetCompendio1")
        </div>
        <div class="editor-field">
            @Html.DropDownList("nIdeCodPaisDoc", String.Empty)
            @Html.ValidationMessageFor(model => model.nIdeCodPaisDoc)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.nIdeTipoDocum, "SIPDetCompendio2")
        </div>
        <div class="editor-field">
            @Html.DropDownList("nIdeTipoDocum", String.Empty)
            @Html.ValidationMessageFor(model => model.nIdeTipoDocum)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.vNumDocum)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.vNumDocum)
            @Html.ValidationMessageFor(model => model.vNumDocum)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.vPriNombre)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.vPriNombre)
            @Html.ValidationMessageFor(model => model.vPriNombre)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.vSegNombre)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.vSegNombre)
            @Html.ValidationMessageFor(model => model.vSegNombre)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.vPriApellido)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.vPriApellido)
            @Html.ValidationMessageFor(model => model.vPriApellido)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.vSegApellido)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.vSegApellido)
            @Html.ValidationMessageFor(model => model.vSegApellido)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.nIdeTipoGenero, "SIPDetCompendio")
        </div>
        <div class="editor-field">
            @Html.DropDownList("nIdeTipoGenero", String.Empty)
            @Html.ValidationMessageFor(model => model.nIdeTipoGenero)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.dtFecNacim)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.dtFecNacim)
            @Html.ValidationMessageFor(model => model.dtFecNacim)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.vEmail)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.vEmail)
            @Html.ValidationMessageFor(model => model.vEmail)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.vTelefono1)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.vTelefono1)
            @Html.ValidationMessageFor(model => model.vTelefono1)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.vTelefono2)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.vTelefono2)
            @Html.ValidationMessageFor(model => model.vTelefono2)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.dtFecReg)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.dtFecReg)
            @Html.ValidationMessageFor(model => model.dtFecReg)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.dFecIniVig)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.dFecIniVig)
            @Html.ValidationMessageFor(model => model.dFecIniVig)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.dFecFinVig)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.dFecFinVig)
            @Html.ValidationMessageFor(model => model.dFecFinVig)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.nIdeUsuReg, "SIPMaeUsuario")
        </div>
        <div class="editor-field">
            @Html.DropDownList("nIdeUsuReg", String.Empty)
            @Html.ValidationMessageFor(model => model.nIdeUsuReg)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.nIdePaisNac)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.nIdePaisNac)
            @Html.ValidationMessageFor(model => model.nIdePaisNac)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.nIdeRegionNac)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.nIdeRegionNac)
            @Html.ValidationMessageFor(model => model.nIdeRegionNac)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.nIdeProvNac)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.nIdeProvNac)
            @Html.ValidationMessageFor(model => model.nIdeProvNac)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.nIdeDistritoNac)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.nIdeDistritoNac)
            @Html.ValidationMessageFor(model => model.nIdeDistritoNac)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.nIdeSectorNac)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.nIdeSectorNac)
            @Html.ValidationMessageFor(model => model.nIdeSectorNac)
        </div>

        <p>
            <input type="submit" value="Save" />
        </p>
    </fieldset>
}

<div>
    @Html.ActionLink("Back to List", "Index")
</div>
